import request from '@/utils/request'

// 获取铅封溯源数据集合
export function findAllTblSealnoOperate(page = 1, pageSize = 10, snCode) {
    return request({
        url: '/mobile/sealnoOperate/list',
        method: 'get',
        params: {
            page,
            pageSize,
            snCode
        }
    })
}

// 获取铅封溯源记录并封装为铅封调拨数据
export function findSealnoOperateDetailBySnCode (snCode) {
    return request({
        url: `/mobile/sealnoOperate/findSealnoOperateDetailBySnCode/${snCode}`,
        method: 'get'
    })
}
